//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.baidu.trace.api.fence;

import com.baidu.trace.model.CoordType;
import com.baidu.trace.model.LatLng;

public final class CircleFence extends Fence {
    private LatLng f;
    private double g;
    private CoordType h;

    public final LatLng getCenter() {
        return this.f;
    }

    public final void setCenter(LatLng var1) {
        this.f = var1;
    }

    public final double getRadius() {
        return this.g;
    }

    public final void setRadius(double var1) {
        this.g = var1;
    }

    public final CoordType getCoordType() {
        return this.h;
    }

    public final void setCoordType(CoordType var1) {
        this.h = var1;
    }

    private CircleFence(long var1, String var3, FenceType var4, String var5, LatLng var6, double var7, int var9, CoordType var10) {
        super(var1, var3, var5, var9, var4);
        this.h = CoordType.bd09ll;
        this.f = var6;
        this.g = var7;
        this.h = var10;
    }

    public static CircleFence buildLocalFence(long var0, String var2, String var3, LatLng var4, double var5, int var7, CoordType var8) {
        return new CircleFence(var0, var2, FenceType.local, var3, var4, var5, var7, var8);
    }

    public static CircleFence buildServerFence(long var0, String var2, String var3, LatLng var4, double var5, int var7, CoordType var8) {
        return new CircleFence(var0, var2, FenceType.server, var3, var4, var5, var7, var8);
    }

    public final String toString() {
        return "CircleFence [fenceId=" + this.a + ", fenceName=" + this.b + ", fenceType=" + this.e + ", monitoredPerson=" + this.c + ", center=" + this.f + ", radius=" + this.g + ", denoise=" + this.d + ", coordType=" + this.h + "]";
    }
}
